package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-srtp-保护属性对象 element_busi_srtp_protect
 * 
 * @author net
 * @date 2024-12-05
 */
public class ElementBusiSrtpProtect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** SR-TP业务ID */
    @Excel(name = "SR-TP业务ID")
    @ApiModelProperty(value = "SR-TP业务ID")
    private String srtpId;

    /** 路径类型 */
    @Excel(name = "路径类型")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 源网元 */
    @Excel(name = "源网元")
    @ApiModelProperty(value = "源网元")
    private String startElement;

    /** 保护模式 */
    @Excel(name = "保护模式")
    @ApiModelProperty(value = "保护模式")
    private String protectMode;

    /** 返回方式 */
    @Excel(name = "返回方式")
    @ApiModelProperty(value = "返回方式")
    private String returnType;

    /** 拖延时间(10ms) */
    @Excel(name = "拖延时间(10ms)")
    @ApiModelProperty(value = "拖延时间(10ms)")
    private String delayTime;

    /** 等待恢复时间(min) */
    @Excel(name = "等待恢复时间(min)")
    @ApiModelProperty(value = "等待恢复时间(min)")
    private String waitTime;

    /** ASP模式 */
    @Excel(name = "ASP模式")
    @ApiModelProperty(value = "ASP模式")
    private String aspMode;

    /** 是否为模版（Y:是 N:否） */
    @Excel(name = "是否为模版", readConverterExp = "Y=:是,N=:否")
    @ApiModelProperty(value = "是否为模版")
    private String templateFlag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSrtpId(String srtpId) 
    {
        this.srtpId = srtpId;
    }

    public String getSrtpId() 
    {
        return srtpId;
    }
    public void setRouteType(String routeType) 
    {
        this.routeType = routeType;
    }

    public String getRouteType() 
    {
        return routeType;
    }
    public void setStartElement(String startElement) 
    {
        this.startElement = startElement;
    }

    public String getStartElement() 
    {
        return startElement;
    }
    public void setProtectMode(String protectMode) 
    {
        this.protectMode = protectMode;
    }

    public String getProtectMode() 
    {
        return protectMode;
    }
    public void setReturnType(String returnType) 
    {
        this.returnType = returnType;
    }

    public String getReturnType() 
    {
        return returnType;
    }
    public void setDelayTime(String delayTime) 
    {
        this.delayTime = delayTime;
    }

    public String getDelayTime() 
    {
        return delayTime;
    }
    public void setWaitTime(String waitTime) 
    {
        this.waitTime = waitTime;
    }

    public String getWaitTime() 
    {
        return waitTime;
    }
    public void setAspMode(String aspMode) 
    {
        this.aspMode = aspMode;
    }

    public String getAspMode() 
    {
        return aspMode;
    }
    public void setTemplateFlag(String templateFlag) 
    {
        this.templateFlag = templateFlag;
    }

    public String getTemplateFlag() 
    {
        return templateFlag;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("srtpId", getSrtpId())
            .append("routeType", getRouteType())
            .append("startElement", getStartElement())
            .append("protectMode", getProtectMode())
            .append("returnType", getReturnType())
            .append("delayTime", getDelayTime())
            .append("waitTime", getWaitTime())
            .append("aspMode", getAspMode())
            .append("templateFlag", getTemplateFlag())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
